﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Temp.Database
{
    class SQLiteFactory
    {
        private string DBPATH; 

        public SQLiteFactory() {
            DBPATH = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "Alex.sqlite");
        }

        public SQLite.SQLiteConnection getConnection() {

           // System.Diagnostics.Debug.WriteLine(DBPATH);
            return new SQLite.SQLiteConnection(DBPATH);
        }

    }
}
